package com.zmn.oms.third.dj58;

import com.zmn.oms.third.dj58.dto.DaoJia58MapZmnProduct;

import java.util.HashMap;
import java.util.Map;

/**
 * 类描述：58到家交互中的产品代码，错误码等信息的映射
 *
 * @author xiewenbing
 * @date 2019/11/01 15:26
 */
public final class DaoJia58Mapper {

    private static final Map<Integer, String> MAP_RESPONSE_CODE = new HashMap<>(8);
    private static final Map<Integer, String> MAP_CANCEL_ORDER_REASON = new HashMap<>(9);
    private static final Map<String,DaoJia58MapZmnProduct> DJ58_TO_ZMN_MAPPER = new HashMap<>(15);

    /**
     * 58到家错误代码与错误内容映射
     */
    static {
        MAP_RESPONSE_CODE.put(DaoJia58Consts.DAOJIA58_RETURN_CODE_SUCCESS,"成功");
        MAP_RESPONSE_CODE.put(DaoJia58Consts.DAOJIA58_RETURN_CODE_SERVER_ERROR,"服务器内部错误");
        MAP_RESPONSE_CODE.put(DaoJia58Consts.DAOJIA58_RETURN_CODE_PARAM_ERROR,"参数错误");
        MAP_RESPONSE_CODE.put(DaoJia58Consts.DAOJIA58_RETURN_CODE_TOKEN_ERROR,"Token未找到（token过期）");
        MAP_RESPONSE_CODE.put(DaoJia58Consts.DAOJIA58_RETURN_CODE_INVALID_SERVICE_KEY,"无效的serviceKey");
        MAP_RESPONSE_CODE.put(DaoJia58Consts.DAOJIA58_RETURN_CODE_GET_TOKEN_OVER,"获取accessToken超过调用次数");
        MAP_RESPONSE_CODE.put(DaoJia58Consts.DAOJIA58_RETURN_CODE_ILLEGAL_ORGID,"serviceKey和orgId不合法");
        MAP_RESPONSE_CODE.put(DaoJia58Consts.DAOJIA58_RETURN_CODE_PAY_PRICE_EMPTY,"必须要传递补充支付的金额");
    }

    /**
     * 订单取消代码与具体情况的映射
     */
    static {
        MAP_CANCEL_ORDER_REASON.put(DaoJia58Consts.DAOJIA58_ORDER_CANCEL_CONSULT,"觉得不合适，双方协商后取消");
        MAP_CANCEL_ORDER_REASON.put(DaoJia58Consts.DAOJIA58_ORDER_CANCEL_DISACORD_TIME,"时间无法达成一致");
        MAP_CANCEL_ORDER_REASON.put(DaoJia58Consts.DAOJIA58_ORDER_CANCEL_IMPROPER_SITE,"地点不合适");
        MAP_CANCEL_ORDER_REASON.put(DaoJia58Consts.DAOJIA58_ORDER_CANCEL_OTHER,"其他");
        MAP_CANCEL_ORDER_REASON.put(DaoJia58Consts.DAOJIA58_ORDER_CANCEL_TEMP_BUSINESS,"临时有事取消预约");
        MAP_CANCEL_ORDER_REASON.put(DaoJia58Consts.DAOJIA58_ORDER_CANCEL_APPOINTMENT_BAD,"预约信息填写错误");
        MAP_CANCEL_ORDER_REASON.put(DaoJia58Consts.DAOJIA58_ORDER_CANCEL_NO_DISTRIBUTE,"长时间未派单");
        MAP_CANCEL_ORDER_REASON.put(DaoJia58Consts.DAOJIA58_ORDER_CANCEL_UNABLE_SERVE,"派单后小哥无法服务");
        MAP_CANCEL_ORDER_REASON.put(DaoJia58Consts.DAOJIA58_ORDER_CANCEL_FINISH,"订单完结取消");
    }

    /**
     * 58到家服务项与啄木鸟平台的映射
     * 2019/11/13 修改
     */
    static {
        DaoJia58MapZmnProduct dj58MapZmnProduct = null;

        // 5646 电视安装###39(含)英寸以下 10853 电视安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5646).serviceName("电视安装###39(含)英寸以下").zmnProductId(10853).build();
        DJ58_TO_ZMN_MAPPER.put("5646",dj58MapZmnProduct);

        // 5732 空调移机###P≤1.5匹 10849 挂机空调拆卸、安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5732).serviceName("空调移机###P≤1.5匹").zmnProductId(10849).build();
        DJ58_TO_ZMN_MAPPER.put("5732",dj58MapZmnProduct);

        // 5734 电热水器安装###电热水器移机 10854 电热水器拆卸、安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5734).serviceName("电热水器安装###电热水器移机").zmnProductId(10854).build();
        DJ58_TO_ZMN_MAPPER.put("5734",dj58MapZmnProduct);

        // 5735 油烟机安装###油烟机安装 10858 油烟机拆卸、安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5735).serviceName("油烟机安装###油烟机安装").zmnProductId(10858).build();
        DJ58_TO_ZMN_MAPPER.put("5735",dj58MapZmnProduct);

        // 5736 燃气灶安装###燃气灶安装 10857 燃气灶拆卸、安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5736).serviceName("燃气灶安装###燃气灶安装").zmnProductId(10857).build();
        DJ58_TO_ZMN_MAPPER.put("5736",dj58MapZmnProduct);

        // 560 防水治漏560 10917 屋顶防水补漏
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(560).serviceName("防水治漏560").zmnProductId(10917).build();
        DJ58_TO_ZMN_MAPPER.put("560",dj58MapZmnProduct);

        // 5794 马桶疏通5794 10909 马桶疏通
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5794).serviceName("马桶疏通5794").zmnProductId(10909).build();
        DJ58_TO_ZMN_MAPPER.put("5794",dj58MapZmnProduct);

        // 5797 地漏疏通5797 10910 地漏疏通
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5797).serviceName("地漏疏通5797").zmnProductId(10910).build();
        DJ58_TO_ZMN_MAPPER.put("5797",dj58MapZmnProduct);

        // 5793 浴缸疏通5793 10911 浴缸疏通
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5793).serviceName("浴缸疏通5793").zmnProductId(10911).build();
        DJ58_TO_ZMN_MAPPER.put("5793",dj58MapZmnProduct);

        // 5796 洗菜盆疏通5796 10906 洗菜盆疏通
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5796).serviceName("洗菜盆疏通5796").zmnProductId(10906).build();
        DJ58_TO_ZMN_MAPPER.put("5796",dj58MapZmnProduct);

        // 5795 洗手盆疏通5795 10907 洗手盆疏通
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5795).serviceName("洗手盆疏通5795").zmnProductId(10907).build();
        DJ58_TO_ZMN_MAPPER.put("5795",dj58MapZmnProduct);

        // 6032 小便池疏通6032 10908 蹲便疏通
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(6032).serviceName("小便池疏通6032").zmnProductId(10908).build();
        DJ58_TO_ZMN_MAPPER.put("6032",dj58MapZmnProduct);

        //6031 蹲坑疏通6031 10908 蹲便疏通
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(6031).serviceName("蹲坑疏通6031").zmnProductId(10908).build();
        DJ58_TO_ZMN_MAPPER.put("6031",dj58MapZmnProduct);

        //5799 水管维修 5799 10865 水管维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5799).serviceName("水管维修 5799").zmnProductId(10865).build();
        DJ58_TO_ZMN_MAPPER.put("5799",dj58MapZmnProduct);

        //6061 水管安装 6061 10865 水管维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(6061).serviceName("水管安装 6061").zmnProductId(10865).build();
        DJ58_TO_ZMN_MAPPER.put("6061",dj58MapZmnProduct);

        //527 龙头维修527 10865 水管维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(527).serviceName("龙头维修527").zmnProductId(10865).build();
        DJ58_TO_ZMN_MAPPER.put("527",dj58MapZmnProduct);

        //5740 龙头安装5740 10865 水管维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5740).serviceName("龙头安装5740").zmnProductId(10865).build();
        DJ58_TO_ZMN_MAPPER.put("5740",dj58MapZmnProduct);

        //5800 阀门维修5800 10865 水管维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5800).serviceName("阀门维修5800").zmnProductId(10865).build();
        DJ58_TO_ZMN_MAPPER.put("5800",dj58MapZmnProduct);

        //6060 阀门安装6060 10865 水管维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(6060).serviceName("阀门安装6060").zmnProductId(10865).build();
        DJ58_TO_ZMN_MAPPER.put("6060",dj58MapZmnProduct);

        //5803 开关维修5803 10863 电路维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5803).serviceName("开关维修5803").zmnProductId(10863).build();
        DJ58_TO_ZMN_MAPPER.put("5803",dj58MapZmnProduct);

        //5772 开关安装5772 10863 电路维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5772).serviceName("开关安装5772").zmnProductId(10863).build();
        DJ58_TO_ZMN_MAPPER.put("5772",dj58MapZmnProduct);

        //5804 插座维修5804 10863 电路维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5804).serviceName("插座维修5804").zmnProductId(10863).build();
        DJ58_TO_ZMN_MAPPER.put("5804",dj58MapZmnProduct);

        //6065 插座安装6065 10863 电路维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(6065).serviceName("插座安装6065").zmnProductId(10863).build();
        DJ58_TO_ZMN_MAPPER.put("6065",dj58MapZmnProduct);

        //5806 电路检测5806 10863 电路维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5806).serviceName("电路检测5806").zmnProductId(10863).build();
        DJ58_TO_ZMN_MAPPER.put("5806",dj58MapZmnProduct);

        //5817 窗帘杆维修5817 10884 窗帘浴帘安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5817).serviceName("窗帘杆维修5817").zmnProductId(10884).build();
        DJ58_TO_ZMN_MAPPER.put("5817",dj58MapZmnProduct);

        //6048 窗帘杆安装6048 10884 窗帘浴帘安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(6048).serviceName("窗帘杆安装6048").zmnProductId(10884).build();
        DJ58_TO_ZMN_MAPPER.put("6048",dj58MapZmnProduct);

        //5816 晾衣架维修5816 10883 晾衣杆维修安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5816).serviceName("晾衣架维修5816").zmnProductId(10883).build();
        DJ58_TO_ZMN_MAPPER.put("5816",dj58MapZmnProduct);

        //5640 晾衣架安装5640 10883 晾衣杆维修安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5640).serviceName("晾衣架安装5640").zmnProductId(10883).build();
        DJ58_TO_ZMN_MAPPER.put("5640",dj58MapZmnProduct);

        //5633 贴壁纸5633 11277 墙面刷新
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5633).serviceName("贴壁纸5633").zmnProductId(11277).build();
        DJ58_TO_ZMN_MAPPER.put("5633",dj58MapZmnProduct);

        //505 室内墙面刷新505 11277 墙面刷新
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(505).serviceName("室内墙面刷新505").zmnProductId(11277).build();
        DJ58_TO_ZMN_MAPPER.put("505",dj58MapZmnProduct);

        //5841 地板维修5841 11278 瓷砖美缝
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5841).serviceName("地板维修5841").zmnProductId(11278).build();
        DJ58_TO_ZMN_MAPPER.put("5841",dj58MapZmnProduct);

        //5634 地板安装5634 11278 瓷砖美缝
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5634).serviceName("地板安装5634").zmnProductId(11278).build();
        DJ58_TO_ZMN_MAPPER.put("5634",dj58MapZmnProduct);

        //5844 瓷砖维修5844 11278 瓷砖美缝
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5844).serviceName("瓷砖维修5844").zmnProductId(11278).build();
        DJ58_TO_ZMN_MAPPER.put("5844",dj58MapZmnProduct);

        //5776 瓷砖安装5776 11278 瓷砖美缝
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5776).serviceName("瓷砖安装5776").zmnProductId(11278).build();
        DJ58_TO_ZMN_MAPPER.put("5776",dj58MapZmnProduct);

        //5843 踢脚线维修5843 11278 瓷砖美缝
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5843).serviceName("踢脚线维修5843").zmnProductId(11278).build();
        DJ58_TO_ZMN_MAPPER.put("5843",dj58MapZmnProduct);

        //5779 踢脚线安装5779 11278 瓷砖美缝
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5779).serviceName("踢脚线安装5779").zmnProductId(11278).build();
        DJ58_TO_ZMN_MAPPER.put("5779",dj58MapZmnProduct);

        //5847 墙体打孔5847 10885 普通五金挂件安装（2个起装）
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5847).serviceName("墙体打孔5847").zmnProductId(10885).build();
        DJ58_TO_ZMN_MAPPER.put("5847",dj58MapZmnProduct);

        //5928 地热暖气维修5928 11080 地暖清洗
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5928).serviceName("地热暖气维修5928").zmnProductId(11080).build();
        DJ58_TO_ZMN_MAPPER.put("5928",dj58MapZmnProduct);

        //5767 地热暖气安装5767 11080 地暖清洗
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5767).serviceName("地热暖气安装5767").zmnProductId(11080).build();
        DJ58_TO_ZMN_MAPPER.put("5767",dj58MapZmnProduct);

        //5831 门及配件5831 10921 门窗安装、维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5831).serviceName("门及配件5831").zmnProductId(10921).build();
        DJ58_TO_ZMN_MAPPER.put("5831",dj58MapZmnProduct);

        //5832 窗及配件5832 10921 门窗安装、维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5832).serviceName("窗及配件5832").zmnProductId(10921).build();
        DJ58_TO_ZMN_MAPPER.put("5832",dj58MapZmnProduct);

        //5835 柜及配件5835 11168 柜架安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5835).serviceName("柜及配件5835").zmnProductId(11168).build();
        DJ58_TO_ZMN_MAPPER.put("5835",dj58MapZmnProduct);

        //5680 打印机维修 10827 打印机维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5680).serviceName("打印机维修").zmnProductId(10827).build();
        DJ58_TO_ZMN_MAPPER.put("5680",dj58MapZmnProduct);

        //5781 打印机安装 10827 打印机维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5781).serviceName("打印机安装").zmnProductId(10827).build();
        DJ58_TO_ZMN_MAPPER.put("5781",dj58MapZmnProduct);

        //5788 门窗锁 10886 室内门开锁
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5788).serviceName("门窗锁").zmnProductId(10886).build();
        DJ58_TO_ZMN_MAPPER.put("5788",dj58MapZmnProduct);

        //6041 智能锁 10901 智能锁安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(6041).serviceName("智能锁").zmnProductId(10901).build();
        DJ58_TO_ZMN_MAPPER.put("6041",dj58MapZmnProduct);

        //5792 地锁 10886 卷闸门开锁
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5792).serviceName("地锁").zmnProductId(10886).build();
        DJ58_TO_ZMN_MAPPER.put("5792",dj58MapZmnProduct);

        //5790 汽车锁 10893 轿车开锁
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5790).serviceName("汽车锁").zmnProductId(10893).build();
        DJ58_TO_ZMN_MAPPER.put("5790",dj58MapZmnProduct);

        //5791 保险柜锁 10889 保险柜开锁
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5791).serviceName("保险柜锁").zmnProductId(10889).build();
        DJ58_TO_ZMN_MAPPER.put("5791",dj58MapZmnProduct);

        //5746 马桶安装 10871 智能马桶安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5746).serviceName("马桶安装").zmnProductId(10871).build();
        DJ58_TO_ZMN_MAPPER.put("5746",dj58MapZmnProduct);

        //5825 马桶维修 10871 智能马桶安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5825).serviceName("马桶维修").zmnProductId(10871).build();
        DJ58_TO_ZMN_MAPPER.put("5825",dj58MapZmnProduct);

        //5749 地漏安装 10910 地漏疏通
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5749).serviceName("地漏安装").zmnProductId(10910).build();
        DJ58_TO_ZMN_MAPPER.put("5749",dj58MapZmnProduct);

        //6063 地漏维修 10910 地漏疏通
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(6063).serviceName("地漏维修").zmnProductId(10910).build();
        DJ58_TO_ZMN_MAPPER.put("6063",dj58MapZmnProduct);

        //5822 面盆维修 10873 洗手盆拆卸、安装、维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5822).serviceName("面盆维修").zmnProductId(10873).build();
        DJ58_TO_ZMN_MAPPER.put("5822",dj58MapZmnProduct);

        //5743 面盆安装 11177 洗脸盆安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5743).serviceName("面盆安装").zmnProductId(11177).build();
        DJ58_TO_ZMN_MAPPER.put("5743",dj58MapZmnProduct);

        //5819 淋浴花洒维修  10865 水管维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5819).serviceName("淋浴花洒维修 ").zmnProductId(10865).build();
        DJ58_TO_ZMN_MAPPER.put("5819",dj58MapZmnProduct);

        //5739 淋浴花洒安装 10865 水管维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5739).serviceName("淋浴花洒安装").zmnProductId(10865).build();
        DJ58_TO_ZMN_MAPPER.put("5739",dj58MapZmnProduct);

        //5826 浴霸维修 11184 浴霸安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5826).serviceName("浴霸维修").zmnProductId(11184).build();
        DJ58_TO_ZMN_MAPPER.put("5826",dj58MapZmnProduct);

        //5747 浴霸安装 11184 浴霸安装
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5747).serviceName("浴霸安装").zmnProductId(11184).build();
        DJ58_TO_ZMN_MAPPER.put("5747",dj58MapZmnProduct);

        //535 灯具维修  10864 普通家用灯具安装、维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(535).serviceName("灯具维修 ").zmnProductId(10864).build();
        DJ58_TO_ZMN_MAPPER.put("535",dj58MapZmnProduct);

        //5752  吊灯安装 10864 普通家用灯具安装、维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5752).serviceName(" 吊灯安装").zmnProductId(10864).build();
        DJ58_TO_ZMN_MAPPER.put("5752",dj58MapZmnProduct);

        //5751  吸顶灯安装 10864 普通家用灯具安装、维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5751).serviceName(" 吸顶灯安装").zmnProductId(10864).build();
        DJ58_TO_ZMN_MAPPER.put("5751",dj58MapZmnProduct);

        //5756 其他灯具安装  10864 普通家用灯具安装、维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5756).serviceName("其他灯具安装 ").zmnProductId(10864).build();
        DJ58_TO_ZMN_MAPPER.put("5756",dj58MapZmnProduct);

        //5242 空调清洗 10834 挂机空调清洗
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5242).serviceName("空调清洗").zmnProductId(10834).build();
        DJ58_TO_ZMN_MAPPER.put("5242",dj58MapZmnProduct);

        //5245 冰箱清洗 10837 冰箱清洗（单/双开门）
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5245).serviceName("冰箱清洗").zmnProductId(10837).build();
        DJ58_TO_ZMN_MAPPER.put("5245",dj58MapZmnProduct);

        //9100 热水器清洗 10841 电热水器清洗
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(9100).serviceName("热水器清洗").zmnProductId(10841).build();
        DJ58_TO_ZMN_MAPPER.put("9100",dj58MapZmnProduct);

        //5247 微波炉清洗 10847 微波炉清洗
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5247).serviceName("微波炉清洗").zmnProductId(10847).build();
        DJ58_TO_ZMN_MAPPER.put("5247",dj58MapZmnProduct);

        //5249 洗衣机清洗 10840 洗衣机清洗
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5249).serviceName("洗衣机清洗").zmnProductId(10840).build();
        DJ58_TO_ZMN_MAPPER.put("5249",dj58MapZmnProduct);

        //5246 饮水机清洗 10848 饮水机清洗
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5246).serviceName("饮水机清洗").zmnProductId(10848).build();
        DJ58_TO_ZMN_MAPPER.put("5246",dj58MapZmnProduct);

        //5243 油烟机清洗 10846 油烟机清洗
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5243).serviceName("油烟机清洗").zmnProductId(10846).build();
        DJ58_TO_ZMN_MAPPER.put("5243",dj58MapZmnProduct);

        //5234 洗衣机维修 10767 洗衣机维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5234).serviceName("洗衣机维修").zmnProductId(10767).build();
        DJ58_TO_ZMN_MAPPER.put("5234",dj58MapZmnProduct);

        //5235 冰箱维修 10766 冰箱维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5235).serviceName("冰箱维修").zmnProductId(10766).build();
        DJ58_TO_ZMN_MAPPER.put("5235",dj58MapZmnProduct);

        //5236 电热水器维修 10770 电热水器维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5236).serviceName("电热水器维修").zmnProductId(10770).build();
        DJ58_TO_ZMN_MAPPER.put("5236",dj58MapZmnProduct);

        //5237 电视维修 10768 电视维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5237).serviceName("电视维修").zmnProductId(10768).build();
        DJ58_TO_ZMN_MAPPER.put("5237",dj58MapZmnProduct);

        //5251 空调维修 10763 挂机空调维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5251).serviceName("空调维修").zmnProductId(10763).build();
        DJ58_TO_ZMN_MAPPER.put("5251",dj58MapZmnProduct);

        //5677 燃气热水器维修 10769 燃气热水器维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5677).serviceName("燃气热水器维修").zmnProductId(10769).build();
        DJ58_TO_ZMN_MAPPER.put("5677",dj58MapZmnProduct);

        //5238 燃气灶维修 10772 燃气灶维修
        dj58MapZmnProduct = DaoJia58MapZmnProduct.builder().serviceId(5238).serviceName("燃气灶维修").zmnProductId(10772).build();
        DJ58_TO_ZMN_MAPPER.put("5238",dj58MapZmnProduct);


    }


    public static DaoJia58MapZmnProduct getProductMap(long serviceId){
        return DJ58_TO_ZMN_MAPPER.get(String.valueOf(serviceId));
    }

    public static String getErrorCodeText(Integer code) {
        return MAP_RESPONSE_CODE.get(code);
    }

    public static String getCancelOrderReason(Integer code) {
        return MAP_CANCEL_ORDER_REASON.get(code);
    }

    /**
     * 私有构造器，禁止外部实例化
     */
    private DaoJia58Mapper() {}
}
